import {BaseEntity,Column,Entity,Index,JoinColumn,JoinTable,ManyToMany,ManyToOne,OneToMany,OneToOne,PrimaryColumn,PrimaryGeneratedColumn,RelationId} from "typeorm";


@Entity("sys_sms_log",{schema:"nest-mall" } )
export class SysSmsLog {

    @Column("varchar",{ 
        nullable:false,
        primary:true,
        length:32,
        name:"id"
        })
    id:string;
        

    @Column("bigint",{ 
        nullable:true,
        name:"user_id"
        })
    userId:string | null;
        

    @Column("text",{ 
        nullable:true,
        name:"content"
        })
    content:string | null;
        

    @Column("text",{ 
        nullable:true,
        name:"mobile"
        })
    mobile:string | null;
        

    @Column("datetime",{ 
        nullable:true,
        name:"stime"
        })
    stime:Date | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:32,
        name:"sign"
        })
    sign:string | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:32,
        name:"type"
        })
    type:string | null;
        

    @Column("varchar",{ 
        nullable:true,
        name:"extno"
        })
    extno:string | null;
        

    @Column("int",{ 
        nullable:true,
        name:"send_status"
        })
    sendStatus:number | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:32,
        name:"send_id"
        })
    sendId:string | null;
        

    @Column("int",{ 
        nullable:true,
        name:"invalid_num"
        })
    invalidNum:number | null;
        

    @Column("int",{ 
        nullable:true,
        name:"success_num"
        })
    successNum:number | null;
        

    @Column("int",{ 
        nullable:true,
        name:"black_num"
        })
    blackNum:number | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:50,
        name:"return_msg"
        })
    returnMsg:string | null;
        
}
